<!DOCTYPE html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org">
    
    <head>
        <title>详情</title>
        <link rel="stylesheet" th:href="@{/static/css/me.css}">
        <link rel="stylesheet" th:href="@{/css/typo.css}">
        <link rel="stylesheet" th:href="@{/css/animate.css}">
        <link rel="stylesheet" th:href="@{/lib/prism/prism.css}">
        <link rel="stylesheet" th:href="@{/lib/tocbot/tocbot.css}">
    </head>
    <body>

    <!--中间内容-->
    <div id="waypoint" class="m-container-small m-padded-tb-big animated fadeIn">
        <div class="ui container">
            <div class="ui top attached segment">
                <div class="ui horizontal link list">
                    <div class="item">
                        <img src="https://unsplash.it/100/100?image=1005" th:src="@{${user.headImgUrl}}"  alt="" class="ui avatar image">
                        <div class="content"><a href="#" class="header" th:text="${user.nickname}">李仁密</a></div>
                    </div>
                    <div class="item">
                        <i class="calendar icon"></i> <span th:text="${#dates.format(notice.updateTime,'yyyy-MM-dd')}">2017-10-01</span>
                    </div>
                    <div class="item">
                        <i class="eye icon"></i> <span th:text="${notice.views}">2342</span>
                    </div>
                </div>
            </div>
            <div class="ui attached segment">
                <!--图片区域-->
                <img src="https://unsplash.it/800/450?image=1005" width="800px" height="450px" th:src="@{${notice.firstPicture}}" alt="" class="ui fluid rounded image">
            </div>
            <div class="ui  attached padded segment">
                <!--内容-->
                <div class="ui right aligned basic segment">
                    <div class="ui orange basic label" th:text="${notice.flag}">原创</div>
                </div>

                <h2 class="ui center aligned header" th:text="${notice.title}"></h2>
                <br>
                <!--中间主要内容部分-->
                <div id="content" class="typo  typo-selection js-toc-content m-padded-lr-responsive m-padded-tb-large" th:utext="${notice.content}">


                </div>

                <!--标签-->
                <!--<div class="m-padded-lr-responsive">
                    <div class="ui basic teal left pointing label" th:each="tag : ${noticeTags}" th:text="${tag.name}">方法论</div>
                </div>-->

                <!--赞赏-->
                <div th:if="${notice.appreciation}">
                    <div class="ui center aligned basic segment">
                        <button id="payButton" class="ui orange basic circular button">赞赏</button>
                    </div>

                </div>

            </div>
            <div class="ui attached positive message" th:if="${notice.shareStatement}">
                <!--博客信息-->
                <div class="ui middle aligned grid">
                    <div class="eleven wide column">
                        <ui class="list">
                            <li>作者：<span th:text="${user.nickname}">admin</span><a href="#" th:href="@{/about}" target="_blank">（联系作者）</a></li>
                            <li>发表时间：<span th:text="${notice.updateTime}">2017-10-02 09:08</span></li>
                            <li>版权声明：自由转载-非商用-非衍生-保持署名（创意共享3.0许可证）</li>
                            <li>公众号转载：请在文末添加作者公众号二维码</li>
                        </ui>
                    </div>
                   <!-- <div class="five wide column">
                        <img src="@{/imgs/wechat.jpg" th:src="@{/images/wechat.jpg}" alt="" class="ui right floated rounded bordered image" style="width: 110px">
                    </div>-->
                </div>
            </div>

        </div>
    </div>

    </body>
</html>
